/*!
\copyright  Copyright (c) 2023 Qualcomm Technologies International, Ltd.
            All Rights Reserved.
            Qualcomm Technologies International, Ltd. Confidential and Proprietary.
\file

\brief      Table containing the availalbe list implementations
*/

#include "list_interface.h"

extern const list_interface_t list_linked_single_if;


#include <logging.h>

const list_interface_t* ListGetInterface(list_type_t list_type)
{
    const list_interface_t* interface = NULL;

    switch(list_type)
    {
        case list_type_linked_single:
        {
            interface = &list_linked_single_if;
        }
        break;

        default:
            DEBUG_LOG_PANIC("Unsupported list type: enum:list_type_t:%d", list_type);
    }
    return interface;
}